home *** CD-ROM | disk | FTP | other *** search
- From: clamage@Eng.Sun.COM (Steve Clamage)
- Message-ID: <4kpd3v$2fb@engnews1.Eng.Sun.COM>
- X-Original-Date: 13 Apr 1996 23:24:47 GMT
- Path: in1.uu.net!bounce-back
- Date: 14 Apr 96 12:34:04 GMT
- Approved: fjh@cs.mu.oz.au
- Newsgroups: comp.std.c++,comp.lang.c++.moderated
- Subject: Re: references and ellipsis
- Organization: Sun Microsystems Inc., Mountain View, CA
- References: <4kop8j$ino@vishnu.jussieu.fr>
- X-Newsreader: NN version 6.5.0 #21 (NOV)
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBFAgUBMXDwyeEDnX0m9pzZAQH2hgF9EIaRBJ/UU3WGWGlpyv5n7+cpXfl33BwY
- znb8Fvi0EkXiwBYekldEn8GQpg/+Aa3j
- =VD+K
-
- frigault@gla.ecoledoc.ibp.fr (Laurent FRIGAULT) writes:
-
- >I discover a problem when trying to use a C++ reference to an object
- >just before an ellipsis :
-
- >int foo(const int& aInt,...){
-
- According the draft standard, the results of using a reference
- type as the last pararmeter before the ellipsis (...) are
- undefined. See section 18.7 "Other runtime support" [lib.support.runtime].
- --
- Steve Clamage, stephen.clamage@eng.sun.com
- ---
- [ comp.std.c++ is moderated. To submit articles: try just posting with ]
- [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
- [ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
- [ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
- [ Comments? mailto:std-c++-request@ncar.ucar.edu ]
-